from django.contrib import admin
from .models import RequestRecord
# Register your models here.


@admin.register(RequestRecord)
class RequestRecordAdmin(admin.ModelAdmin):

    list_display=['id','path','method', 'ip', 'user_agent', 'http_refer','os',  'country', 'province', 'city','time']
    search_fields=['ip','path']
    list_filter=['method','country','province','city']